//加密模块
const crypto = require('crypto');
//封装加密
function jiami(str) {
    let salt = "+)*^%$%&%$*%$&$##^@@#@%&……#$%$#@$"
    let obj = crypto.createHash('md5');
    str = salt + str;
    obj.update(str)
    return obj.digest('hex')
}
module.exports = jiami;